package com.abc.service;

import com.abc.entity.Programme;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2024-12-25
 */
public interface IProgrammeService extends IService<Programme> {
    List<Programme> getProgrammesByUserId(Long userId);
    boolean addProgramme(Programme programme, Long userId);
    boolean deleteProgramme(Integer programmeId, Long userId);
    boolean updateProgramme(Programme programme, Long userId);
    boolean publishProgramme(Programme programme, String[] userEmails) throws Exception;

    List<Programme> getProgrammesToRemind();
}